LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE := arm
LOCAL_SRC_FILES := 	inst/_addr_mode.c \
				inst/_cond.c \
				inst/_oprt.c \
				inst/adc.c \
				inst/add.c \
				inst/and.c \
				inst/b_bl.c \
				inst/bic.c \
				inst/blx_1.c \
				inst/blx_2.c \
				inst/brpt.c \
				inst/bx.c \
				inst/bxj.c \
				inst/cdp.c \
				inst/clz.c \
				inst/cmn.c \
				inst/cmp.c \
				inst/cps.c \
				inst/cpy.c \
				inst/eor.c \
				inst/ldc.c \
				inst/ldm_1.c \
				inst/ldm_2.c \
				inst/ldm_3.c \
				inst/ldr.c \
				inst/ldrb.c \
				inst/ldrbt.c \
				inst/ldrd.c \
				inst/ldrex.c \
				inst/ldrh.c \
				inst/ldrsb.c \
				inst/ldrsh.c \
				inst/ldrt.c \
				inst/mcr.c \
				inst/mcrr.c \
				inst/mla.c \
				inst/mov.c \
				inst/mrc.c \
				inst/mrrc.c \
				inst/mrs.c \
				inst/msr.c \
				inst/mul.c \
				inst/mvn.c \
				inst/orr.c \
				inst/pkhbt.c \
				inst/pkhtb.c \
				inst/pld.c \
				inst/qadd.c \
				inst/qadd16.c \
				inst/qadd8.c \
				inst/qaddsubx.c \
				inst/qdadd.c \
				inst/qdsub.c \
				inst/qsub.c \
				inst/qsub16.c \
				inst/qsub8.c \
				inst/qsubaddx.c \
				inst/rev.c \
				inst/rev16.c \
				inst/revsh.c \
				inst/rfe.c \
				inst/rsb.c \
				inst/rsc.c \
				inst/sadd16.c \
				inst/sadd8.c \
				inst/saddsubx.c \
				inst/sbc.c \
				inst/sel.c \
				inst/setend.c \
				inst/shadd16.c \
				inst/shadd8.c \
				inst/shaddsubx.c \
				inst/shsub16.c \
				inst/shsub8.c \
				inst/shsubaddx.c \
				inst/smlad.c \
				inst/smlal.c \
				inst/smlald.c \
				inst/smlal_x_y.c \
				inst/smlaw_y.c \
				inst/smla_x_y.c \
				inst/smlsd.c \
				inst/smlsld.c \
				inst/smmla.c \
				inst/smmls.c \
				inst/smmul.c \
				inst/smuad.c \
				inst/smull.c \
				inst/smulw_y.c \
				inst/smul_x_y.c \
				inst/smusd.c \
				inst/srs.c \
				inst/ssat.c \
				inst/ssat16.c \
				inst/ssub16.c \
				inst/ssub8.c \
				inst/ssubaddx.c \
				inst/stc.c \
				inst/stm_1.c \
				inst/stm_2.c \
				inst/str.c \
				inst/strb.c \
				inst/strbt.c \
				inst/strd.c \
				inst/strex.c \
				inst/strh.c \
				inst/strt.c \
				inst/sub.c \
				inst/swi.c \
				inst/swp.c \
				inst/swpb.c \
				inst/sxtab.c \
				inst/sxtab16.c \
				inst/sxtah.c \
				inst/sxtb.c \
				inst/sxtb16.c \
				inst/sxth.c \
				inst/teq.c \
				inst/tst.c \
				inst/uadd16.c \
				inst/uadd8.c \
				inst/uaddsubx.c \
				inst/uhadd16.c \
				inst/uhadd8.c \
				inst/uhaddsubx.c \
				inst/uhsub16.c \
				inst/uhsub8.c \
				inst/uhsubaddx.c \
				inst/umaal.c \
				inst/umlal.c \
				inst/umull.c \
				inst/uqadd16.c \
				inst/uqadd8.c \
				inst/uqaddsubx.c \
				inst/uqsub16.c \
				inst/uqsub8.c \
				inst/uqsubaddx.c \
				inst/usad8.c \
				inst/usada8.c \
				inst/usat.c \
				inst/usat16.c \
				inst/usub16.c \
				inst/usub8.c \
				inst/usubaddx.c \
				inst/uxtab.c \
				inst/uxtab16.c \
				inst/uxtah.c \
				inst/uxtb.c \
				inst/uxtb16.c \
				inst/uxth.c \
				cpu.c \
				mem.c \

LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include

include $(BUILD_STATIC_LIBRARY)
